package com.jdone.compus.dto;

import com.jdone.compus.enums.ChannelType;
import com.jdone.compus.model.BlowDevice.DeviceStatus;
import com.jdone.compus.model.BlowDeviceRepairImage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.util.List;

@Data
@ApiModel("新增/修改 BlowDevice DTO")
public class BlowDeviceDto {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("所属 IMEI")
    private String imei;

    @ApiModelProperty("厂商")
    private String manufacturer;

    @ApiModelProperty("通道类型（LEFT/RIGHT）")
    private ChannelType channel;

    @ApiModelProperty("设备类型 1=插板 2=吹风机")
    @Min(1) @Max(2)
    private Integer deviceType;

    @ApiModelProperty("设备位置")
    private String location;

    @ApiModelProperty("图片路径")
    private String images;

}
